<div class="mian">
    <div class="mian1">
        <div class="mian2">
            <!--left start-->
            <?php $this->load->view('defaults/common/left');?>
            <!--left end-->
            <!--right start-->
            <div class="right">
                <!--breadcrumb start-->
                <div class="righta"><?=$this->breadcrumb->generateHTML();?> </div>
                <!--breadcrumb end-->
                <!-- contents start -->
                <div id="contents">
                    <div id="contents_container">
                        <form action="<?=blang_url('files/Filemanage/updatefile/'.$fileslist[0]['id'])?>" method="post" name="productform" onsubmit="return myform_submit()" autocomplete="off" >
                            <table cellpadding="0" cellspacing="0" id="table_forms" border="1">
                                <tr>
                                        <td>文件标题：<input type="text" value="<?=$fileslist[0]['title']?>" id="title" name="title"></td>
                                        <td>文件类型：<select name="type" id="type">
                                                <?php foreach($filetype as $trow):?>
                                                    <option value="<?=$trow['name']?>" <?=$fileslist[0]['typename']==$trow['name']?'selected':''?>><?=$trow['name']?></option>
                                                <?php endforeach?>
                                            </select></td>
                                        <td><input type="submit" value="提交修改"></td>
                                </tr>
                            </table>
                        </form>
                    </div>
                </div>
                <!-- contents end -->
            </div>
            <!--right end-->
        </div>
    </div>
</div>